<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		
		<script src="scripts/jquery-1.11.1.min.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
		$(function(){
			$.post("Select",null,function(data){
				var i= JSON.parse(data);
				var o = i.score;				
				for(var j =0;j<o.length;j++){
					$("#tbody").append("<tr><td>"+(j+1)+
									"</td><td>"+o[j].username+
									"</td><td>"+o[j].score+"</td></tr>")
				}
			})
		});
	
			
		</script>
	</head>
	<body>
		<table cellspacing="0" id="tbody">
        <tr>
        	<th>排名</th>
		    <th >用户名</th>
		    <th >得分</th>
		    
		 </tr>
		 
	</table>
	</body>
</html>
